<template>
  <div class="list">
      <div class="top-nav">
          <router-link class="btn" :to="{name:'Books',params:{type:'ertong'}}">儿童</router-link>
          <router-link class="btn" :to="{name:'Books',params:{type:'dongman'}}">动漫</router-link>
          <router-link class="btn" :to="{name:'Books',params:{type:'lishi'}}">历史</router-link>
          <router-link class="btn" :to="{name:'Books',params:{type:'qingchunwenxue'}}">文学</router-link>
      </div>
      <router-view/>
  </div>
</template>
<script>
export default {
  name:'List',
  data () {
      return {
      }
  }
}
</script>
